/*Hm9gUKDDwtNjV7Mk8onAzjVO821c61OeoGY+e+gKJOPvhkgg0zHzUk0i7oxEnIVI*/
import afterEvent from './afterEvent';
import { Query,AutoVerify,Verify,Jfmath,Dfmath } from '../../../public/publicMethods/pubButtonClick.js';

export function buttonClick(props, id) {
	this.dataInSaga.butncode = id;
	switch (id) {
		case 'Query':
			Query(this, props, afterEvent);
			break;
		case 'Verify':
			Verify(this, props);
			break;
		case 'AutoVerify': //自动核销
			AutoVerify(this, props, afterEvent);
			break;
		case 'VerifyQuery': //核销查询
			props.openTo('/arap/verificationsheet/verifyqueryap/list/index.html', {
				pagecode: '20080VQ_LIST',
				appcode: '20080VQ'
			});
			break;
		case 'Jfmath': //按借方匹配
			Jfmath(this, props)
			break;
		case 'Dfmath': //按贷方匹配
			Dfmath(this, props)
			break;
		default:
			break;
	}
}
/*Hm9gUKDDwtNjV7Mk8onAzjVO821c61OeoGY+e+gKJOPvhkgg0zHzUk0i7oxEnIVI*/